<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        //js对象
        var student = {
            id:"编号",
            name:'名字',
            eat:function () {

            },
            sleep:function () {

            },
            play(){}
        }

        //JSON对象
        var stu ={
            "id":"1",
            "name":"张三",
            "data":[
                {},
                {},
                {}
            ]
        }



    </script>
</head>
<body>

</body>
</html>